package com.atguigu.gmall.product.service;

import com.atguigu.gmall.product.entity.SpuInfo;
import com.atguigu.gmall.product.vo.SpusaveInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface SpuInfoService extends IService<SpuInfo> {

    /**
     * 根据三级分类id获取sup分页列表
     * @param page
     * @param limit
     * @param category3Id
     * @return
     */
    Page<SpuInfo> getSpuinfoPage(Long page, Long limit, Long category3Id);

    /**
     * sup大保存
     * @param spusaveInfoVo
     */
    void saveSpuInfo(SpusaveInfoVo spusaveInfoVo);
}
